using PowerManage.Entity;
using PowerManage.Entity.Dtos.AudiLogs;

namespace PowerManage.Service;

public interface IAuditLogService
{
    /// <summary>
    /// 插入审核日志
    /// </summary>
    /// <param name="eleAuditLog"></param>
    /// <returns></returns>
    EleAuditLog Add(EleAuditLog eleAuditLog);

    /// <summary>
    /// 获取审核日志列表
    /// </summary>
    /// <param name="audiLogPageRequestDto"></param>
    /// <returns></returns>
    AuditLogPageResponseDto Query(AudiLogPageRequestDto audiLogPageRequestDto);

    /// <summary>
    /// 删除审核日志
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    bool Delete(long id);
}